<template>
  <Tree :data="data1"></Tree>
</template>

<script>
    export default {
        name: "tree",
        data () {
          return {
            //树控件的数据
            data1: [
              {
                title: '软件工程1',
                expand: true,
                children: [
                  {
                    title: '培养方案',
                    expand: true
                  },
                  {
                    title: '教学计划',
                    expand: true
                  }
                ]
              },{
                title: '软件工程2',
                expand: true,
                children: [
                  {
                    title: '培养方案',
                    expand: true
                  },
                  {
                    title: '教学计划',
                    expand: true
                  }
                ]
              }
            ]
          }
        }
    }
</script>

<style scoped>


</style>
